#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <vector>

using namespace std;

int c = 0;
int path = 0;
int t = 0;

void dfs(vector<int>& nums, int n)
{
    if (n == nums.size())
    {
        if (path == t)
            c++;
        return;
    }
    path += nums[n];
    dfs(nums, n + 1);
    path -= nums[n];

    path -= nums[n];
    dfs(nums, n + 1);
    path += nums[n];
}

int findTargetSumWays(vector<int>& nums, int target) {
    t = target;
    dfs(nums, 0);
    return count;
}

int main()
{

	return 0;
}